import { createApp } from 'vue'
import App from './App.vue'
import router from './router'

// 导入element-plus
import ElementPlus from 'element-plus'
import 'element-plus/theme-chalk/index.css'
// createApp(App).use(router).mount('#app')
const app =createApp(App)
// 全局导入element
app.use(ElementPlus)
app.use(router)
app.mount('#app')